home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000142_blitz-list-request_Fri Jul 29 03:31:44 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  2KB

  1. Received: from sol.ccs.deakin.edu.au (sol.ccs.deakin.edu.au [128.184.1.1]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id DAA14578 for <blitz-list@helsinki.fi>; Fri, 29 Jul 1994 03:30:46 +0300
  2. Received: from hareth (hareth.cm.deakin.edu.au [128.184.80.165]) by sol.ccs.deakin.edu.au (8.6.8.1/8.6.6) with SMTP id KAA25922; Fri, 29 Jul 1994 10:30:11 +1000
  3. From: Mark Kuzmycz <kuzmycz@deakin.edu.au>
  4. Received: by hareth (5.0/client-1.3)
  5.     id AA00962; Fri, 29 Jul 1994 10:30:10 --1000
  6. Date: Fri, 29 Jul 1994 10:30:10 --1000
  7. Message-Id: <9407290030.AA00962@hareth>
  8. To: blitz-list@helsinki.fi
  9. Subject: Strings
  10. Cc: acid@iconz.co.nz
  11. X-Sun-Charset: US-ASCII
  12. content-length: 839
  13. MIME-Version: 1.0
  14. Content-Type: text/plain; charset="us-ascii"
  15. Content-Transfer-Encoding: 7bit
  16. X-Status: 
  17. Status: O
  18.  
  19. I've been attempting to create strings outside of blitz and have come to the
  20. conclusion that I souldn't as Blitz crashes when it trys to free the string.
  21.  
  22. With this in mind I have now proceeded to create a library to scan a block
  23. of memory extracting strings terminated with a new line (faster edit function).
  24.  
  25. This is my current interpretation of the way command in a library work.
  26.  
  27. Register A3 points to a tempory string. I can only assume that this is
  28. the string buffer. 
  29.  
  30. When a function, that returns a string, finishes it returns the string
  31. size in d0. The part that I'm not sure about is what does A3 return.
  32. I've seen other library code and for the library a3 returns a pointer
  33. to the last character in the string. 
  34.  
  35. Is this correct?
  36.  
  37. Also could someone elaborate a bit more apon the tutorial for creating a library.
  38.  
  39. Thanks Mark.
  40.